
export let homem = {
    state: {
        newmovie: ""
    },
    mutations: {
        updata(state, payload) {
            state.newmovie = payload
        }

    },
    actions: {
        moviedata(context, payload) {
            getlink(payload.url).then((ok) => {
                console.log(ok);
                context.commit("updata", ok.data)
            })
        }
    }
}
